<template>
    <div class="goods">
        <GoodsListItem class="goodsitem" v-for="(item,index) in goods" v-bind:key="index" v-bind:item="item"></GoodsListItem>
    </div>
</template>
<script>
import GoodsListItem from "@/components/content/goods/GoodsListItem";
export default {
    name: "GoodsList",
    props:{
        goods:{
            type:Array,
            default:function (){
                return []
            }
        }
    },
    methods:{
    },
    components:{
        GoodsListItem
    }
}
</script>

<style scoped>
.goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.goodsitem{
    width: 46%;
}
</style>
